package com.lcm.weam.dao.sys;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcm.weam.entity.sys.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    Role selectByRid(Integer rid);

    List<Role> selectAllRoleAndPermission();

    void deleteMapById(Integer rid);
}
